package com.example.backend.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.backend.dto.BorrowDTO;

public interface BorrowService {
    Page<BorrowDTO> page(Integer current, Integer size, Long userId);
    void borrow(Long bookId);
    void approve(Long id);
    void reject(Long id);
    void returnBook(Long id);
} 